﻿using MainClient2.ViewModels;
using System.Windows;

namespace MainClient2
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            LoginView loginView = new LoginView();
            loginView.Owner = this;
            loginView.ShowDialog();
            LoginViewModel loginViewModel = loginView.DataContext as LoginViewModel;
            //webyym.MainService mainService = new webyym.MainService();
            ////mainService.Url;
            //mainService.GetMenulistByRoleId(0);
        }
    }
}
